package com.nmf.pc.enums.cury;

public enum QueryType {
	ZHOU(1, "7"),//hash/s
	MOTN(2, "30"),//sol/s
	;

	public Integer value;
	public String name;

	QueryType(Integer value, String name) {
		this.value = value;
		this.name = name;
	}

	public static QueryType getStatus(Integer value) {
		if (value != null) {
			QueryType[] otypes = QueryType.values();
			for (QueryType memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
